/************************************************************
 *  * GOSwift CONFIDENTIAL
 * __________________
 * Copyright (C) 2013-2014 CWSwift Technologies. All rights reserved.
 *
 * NOTICE: All information contained herein is, and remains
 * the property of CWSwift Technologies.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from GOSwift Technologies.
 * knight lu 349919133
 */

#import <UIKit/UIKit.h>
#import "AFNetworking.h"
#import "XMLReader.h"
//#import "MJExtension.h"
#define DES_KEY @"MS:(!.*^"//des加密KEY

typedef void (^ NetworkSuccessBlock)(NSDictionary *responseDic);
typedef void (^ NetworkFailureBlock)();

@interface UIViewController (ServiceNetwork)

//functionServiceStr:(NSString*)serviceStr
- (void)GET:(NSString *)fun args:(NSDictionary *)argsDic
                    successBlock:(NetworkSuccessBlock)success
                    failureBlock:(NetworkFailureBlock)failure;

- (void)GET:(NSString *)fun successBlock:(NetworkSuccessBlock)success failureBlock:(NetworkFailureBlock)failure;


@end
